package ch9.inner;

import ch9.inner.Hotel.Miehuoqi;
import ch9.inner.Hotel.Zhizhao;

public class HotelTest {

	public static void main(String[] args) {
		Hotel h = new Hotel("如家快捷屯溪路店", "屯溪路128号", "29929292");
		h.show();
		System.out.println(">>>>>>>>>>>>>>.");
		h.z.show();
		// 单独new Zhizhao类
		// Zhizhao zz = h.new Zhizhao("蜀山区工商局", "2019-2025", "2929");
		// System.out.println("????????????????");
		// zz.show();
		//
		h.clean("301");
		System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>");
		Miehuoqi m = new Miehuoqi();
		m.brand = "xxx";
		m.price = 200;

	}
}
